package com.example.flowermall.service;

import com.example.flowermall.domain.LoginBody;
import com.example.flowermall.entity.Result;
import com.example.flowermall.entity.User;

import java.util.List;
import java.util.Map;

public interface ILoginService {

    String  login(LoginBody loginBody);

    Map<String, Object> getInfo(String token);

    void logout(String token);

    List<String> getRoleNameByUserId(Integer integer);

    String getSessionId(String code, String encryptedData, String iv) throws Exception;

    String wxlogin(LoginBody loginBody);
}
